//
//  UIButton+Util.h
//
//  Created by SKY
//  Copyright © 翊sky. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIButton (Util)

+(UIButton *)buttonWithLocalImage:(NSString *)image title:(NSString *)title titleColor:(UIColor *)titleColor fontSize:(CGFloat)fontSize frame:(CGRect)frame target:(id)target sel:(SEL)selector;

+(UIButton *)buttonWithLocalBgImage:(NSString *)bgImage frame:(CGRect)frame target:(id)target sel:(SEL)selector;

+(UIButton *)buttonWithNetImage:(NSString *)imageURL title:(NSString *)title titleColor:(UIColor *)titleColor fontSize:(CGFloat)fontSize frame:(CGRect)frame target:(id)target sel:(SEL)selector;

+(UIButton *)buttonWithNetBgImage:(NSString *)bgImageURL frame:(CGRect)frame target:(id)target sel:(SEL)selector;

-(void)buttonWithNetImage:(NSString *)netImageURL;

-(void)buttonWithNetBGImage:(NSString *)netBGImageURL;

@end
